home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / +ORC / Orc pac 5 / FILEZ.ZIP / SKY.ZIP / REACH.ZIP / INSTALLM.BAT < prev    next >
DOS Batch File  |  1997-03-09  |  2KB  |  59 lines

  1. :@ECHO OFF
  2.  
  3. REM    THIS IS THE MGA INSTALL COPY PROGRAM
  4. REM     PARAMETER 1 is CURRENT DIR = %1
  5.  
  6. REM THE FOLLOWING FILES ARE ON DISK 1:
  7. echo ECHO INSERT DISK %%1 IN FLOPPY DRIVE %%2>RETRY.BAT
  8. echo PAUSE>>RETRY.BAT
  9. echo %%2:CHECKDSK %%1 %%2>>RETRY.BAT
  10.  
  11. REM call    %1:CHECKDSK 1 %1
  12. If exist *.m* del    *.m* >NUL
  13. If exist loadES.STT del loadES.STT >NUL
  14. call    %1:COPYCOMM.BAT %1
  15. call    %1:COPYLIBM.BAT    %1
  16.  
  17. REM THE FOLLOWING FILES ARE ON DISK 2:
  18. REM call    %1:CHECKDSK 2 %1
  19. If exist *.?bm del    *.?bm >NUL
  20. If exist PH256*.ser del    PH256*.ser >NUL
  21. %1:COPYARTM.EXE >NUL
  22. IF ERRORLEVEL 1 Goto Problems
  23.  
  24. REM THE FOLLOWING FILES ARE ON DISK 4 (the demo):
  25. REM call    %1:CHECKDSK 4 %1
  26. if exist de*.sel del de*.sel
  27. if exist loadbobg.* del loadbobg.*
  28. if exist *.sev del *.sev
  29. if exist *.sen del *.sen
  30. if exist *.sec del *.sec
  31. if exist tv_*.seq del tv_*.seq
  32. if exist *.sep del *.sep
  33. if exist demtrol.* del demtrol.*
  34. if exist rftsdemo.* del rftsdemo.*
  35. if exist copyde*.* del copyde*.*
  36. call    %1:COPYDPRT %1 >NUL
  37. IF ERRORLEVEL 1 Goto Problems
  38. ECHO             - INSTALLATION IS NOW COMPLETE -
  39. ECHO             - TYPE REACH IN THIS DIRECTORY -
  40. GOTO Done
  41. :Problems
  42. ECHO         - ERROR DURING FILE WRITING - NO SPACE LEFT? -
  43. ECHO There was a write error, probably because the target disk is full.
  44. ECHO The 256 colour version requires about 3.1MB of disk space.
  45. ECHO After deleting something else you can type INSTALL in this directory
  46. ECHO to repeat the same installation, or type INSTALL on the floppy %1: to
  47. ECHO change the installation details.
  48. ECHO THE FAILED INSTALLATION WILL NOW BE DELETED:
  49. ATTRIB +R INSTALLM.BAT
  50. @ECHO ON
  51. DEL *.*
  52. @ECHO OFF
  53. ATTRIB -R INSTALLM.BAT
  54. ECHO @ECHO OFF >INSTALL.BAT
  55. ECHO INSTALLM %1>>INSTALL.BAT
  56. DIR *.BAT
  57. :Done
  58.  
  59.